package com.xjtu.review;

/**
 * @author yjq
 * @version 1.0
 * @date 2021/9/21 15:52
 */
public class Person {
    String name;//姓名
    int age = 1;//年龄
    boolean isMale;//是否为男性

    public static void main(String[] args){
        Person p1=new Person();
        p1.name="Tome";
        p1.isMale=true;
        Person p2=new Person();
        System.out.println(p2.name);
        Person p3 = p1;
        p3.age=10;

    }
}
